package com.weimob.mcloud.wechatwork.customer.service.user.module.dto.group;

import com.weimob.mcloud.wechatwork.customer.service.user.module.enums.group.ChatGroupMemberTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author yuzhaoyang
 * @desc
 * @date 2021-02-07 16:07
 */
@Data
public class GroupChatListByMembersDTO implements Serializable {
    private static final long serialVersionUID = -5393648368036803366L;

    @NotNull(message = "pid can not be null")
    private Long pid;

    @NotNull(message = "suiteId can not be null")
    private String suiteId;

    /**
     * 群成员ID集合
     */
    private List<String> memberIdList;

    /**
     * 成员类型。 1 - 企业成员 2 - 外部联系人
     *
     * @see ChatGroupMemberTypeEnum
     */
    @NotNull(message = "type can not be null")
    private Byte type;
}
